package com.neusoft.chenhanhua.wh0913;

import java.util.Scanner;

import javax.swing.JFrame;

public class Maincal extends JFrame{
	public static void main(String[] args) {
		while (true) {
			Scanner sc=new Scanner(System.in);
			System.out.println("请输入第一个数");
			String diyi=sc.nextLine();
			System.out.println("请输入第二个数");
			String dier=sc.nextLine();
			System.out.println("请输入+*/-");
			String yunsfu=sc.nextLine();
			System.out.println("退出输入q,获取结果输入=，重启输入c");
			String zuih=sc.nextLine();
			Calculator ca=new Calculator(diyi,dier,yunsfu,zuih );
			
		}
	}
	

}
